package com.zlp.demo;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

/**
 * @Description:
 * @date: 2019/5/21 11:00
 * @Author: ZouLiPing
 * @contact: 请关注微信公众号“给自己一个smile”里面有详细电商项目文档,weixin:zlp865391093
 */
public class ArrayListTest {

    public static void main(String[] args) {

        List list = new ArrayList();
        list.add("1");
        list.add("2");
        list.add("3");
        list.add("4");

        list.remove(0);

      /*  Iterator iterator = list.iterator();
        if(iterator.hasNext()){
            Object next = iterator.next();
            System.out.println(next);
        }*/


    }
}
